package hotel.service;


import java.sql.Timestamp;
import java.util.List;

import common.pojo.Hotel;
import common.pojo.HotelView;
import common.pojo.Review;
import common.pojo.RoomStyle;


public interface IHotelService {
	public boolean update(Hotel hotelInfo);
	public Hotel findInfo();
	public List<RoomStyle> findRoomList(String where,Timestamp startTime,Timestamp endTime);
	public HotelView findHotel();
	public List<Review> findReviewResult(String where);
	public RoomStyle findRoom(int id,Timestamp startTime, Timestamp endTime);
	public int getLeftNum(int id, Timestamp startTime, Timestamp endTime);
}
